﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Maniax.HoldEm;

namespace Maniax.HoldEmTestbed
{
    class Program
    {
        static void Main(string[] args)
        {
            Deck deck = new Deck();

            
            Console.WriteLine("Outputting default deck contents");
            Console.WriteLine("");
            PrintDeckContents(deck);
            Console.WriteLine("");

            deck.Reset();
            deck.Shuffle();

          
            Console.WriteLine("Outputting shuffled deck contents");
            Console.WriteLine("");
            PrintDeckContents(deck);
            Console.WriteLine("");
        }

        static void PrintDeckContents(Deck deck)
        {
            int i = 0;
            while (!deck.IsEmpty)
            {
                Card card = deck.DrawCard();
                i++;
                Console.WriteLine("No: {0} Card Value: {1}",i.ToString(), card.ToString());
            }
        }

    }
}
